1 /*
2 * File: attitude_controller.h
3 *
4 * Code generated for Simulink model 'attitude_controller'.
5 *
6 * Model version : 1.67
7 * Simulink Coder version : 8.5 (R2013b) 08-Aug-2013
8 * C/C++ source code generated on : Mon Feb 03 08:13:29 2014
9 *
10 * Target selection: ert.tlc
11 * Embedded hardware selection: 32-bit Embedded Processor
12 * Code generation objectives: Unspecified
13 * Validation result: Not run
14 */
15
16 #ifndef RTW_HEADER_attitude_controller_h_
17 #define RTW_HEADER_attitude_controller_h_
18 #ifndef attitude_controller_COMMON_INCLUDES_
19 # define attitude_controller_COMMON_INCLUDES_
20 #include <string.h>
21 #include "rtwtypes.h"
22 #include "model_reference_types.h"
23 #endif /* attitude_controller_COMMON_INCLUDES_ */
24
25 #include "attitude_controller_types.h"
26
27 /* Block states (auto storage) for model 'attitude_controller' */
28 typedef struct {
29 real_T X_DSTATE; /* '<S2>/X' (DWork 1) */
30 } rtDW_attitude_controller;
31
32 /* Invariant block signals for model 'attitude_controller' */
33 typedef struct {
34 const real_T Product; /* '<S2>/Product' (Output 1) */
35 } rtC_attitude_controller;
36
37 typedef struct {
38 rtDW_attitude_controller rtdw;
39 } rtMdlrefDWork_attitude_controller;
40
41 /* Model reference registration function */
42 extern void attitude_controller_initialize(rtDW_attitude_controller *localDW);
43 extern void attitude_controller(const real_T *rtu_Disp_Cmd, const real_T
44 *rtu_Disp_FB, const real_T *rtu_Rate_FB, const boolean_T *rtu_Engaged, real_T *
45 rty_Surf_Cmd, rtDW_attitude_controller *localDW, real_T rtp_dispGain, real_T
46 rtp_dispLim, real_T rtp_rateGain, real_T rtp_rateLim, real_T rtp_intGain,
47 real_T rtp_intLim, real_T rtp_cmdLim);
48
49 /*-
50 * The generated code includes comments that allow you to trace directly
51 * back to the appropriate location in the model. The basic format
52 * is <system>/block_name, where system is the system number (uniquely
53 * assigned by Simulink) and block_name is the name of the block.
54 *
55 * Use the MATLAB hilite_system command to trace the generated code back
56 * to the model. For example,
57 *
58 * hilite_system('<S3>') - opens system 3
59 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
60 *
61 * Here is the system hierarchy for this model
62 *
63 * '<Root>' : 'attitude_controller'
64 * '<S1>' : 'attitude_controller/Model Info'
65 * '<S2>' : 'attitude_controller/ResetIntegratorInternal'
66 */
67
68 /*-
69 * Requirements for '<Root>': attitude_controller
70 */
71 #endif /* RTW_HEADER_attitude_controller_h_ */
72
73 /*
74 * File trailer for generated code.
75 *
76 * [EOF]
77 */
78
|